package com.jinbiao.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jinbiao.dao.MemberDao;
import com.jinbiao.model.Member;

/**
 * service 层
 * @author EX_WLJR_ZHUANGJB
 *
 */
@Service
public class MemberServiceImp implements MemberService {
	
	@Autowired
	MemberDao mdao;

	@Override
	public Member getByUid(long uid) throws Exception {
		  return mdao.getByUid(uid);
	
	}

	@Override
	public Member getByEid(Integer eid) throws Exception {
		return mdao.getByEid(eid);
	}

	@Override
	public Member findALL() {
		
		return mdao.getAll();
	}
	
}
